package ch05.shili.service;

import ch05.shili.dao.UserDao;
import ch05.shili.facotory.UserDaoFactory;
import ch05.shili.pojo.User;

public class UserServiceImpl implements UserService{
    private UserDao dao= UserDaoFactory.getInstance();
    @Override
    public void save(User user) {
        dao.save(user);
    }
}
